//
//  WHWproxyKitModel.h
//  WHPersonalData
//
//  Created by shengmeng chen on 2021/7/20.
//  Copyright © 2021 mac. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface WHWproxyKitErrorModel : NSObject

@property (nonatomic,copy  )NSString *error_code;

@property (nonatomic,copy  )NSString *error_msg;

@end

@interface WHWproxyKitProcessModel : NSObject

@property (nonatomic,copy  )NSString *doing_file;

@property (nonatomic,copy  )NSString *doing_pos;

@property (nonatomic,copy  )NSString *doing_size;

@property (nonatomic,copy  )NSString *total_pos;

@property (nonatomic,copy  )NSString *total_size;

@end

@interface WHWproxyKitSuccessModel : NSObject

@property (nonatomic,copy  )NSString *file_rid;

@property (nonatomic,copy  )NSString *file_path;

@property (nonatomic,copy  )NSString *file_size;

@property (nonatomic,copy  )NSString *file_name;

@end

@interface WHWproxyKitModel : NSObject

+(WHWproxyKitErrorModel*)wHWproxyKitErrorModelWithResult:(NSString*)result;

+(WHWproxyKitProcessModel*)wHWproxyKitProcessModelWithResult:(NSString
                                                              *)result;

+(NSMutableArray<WHWproxyKitSuccessModel*>*)wHWproxyKitSuccessModelWithResult:(NSString *)result;

+(NSString*)getTxtFilePathWithArray:(NSMutableArray<WHWproxyKitSuccessModel*>*)successModels;

+(NSString *)readJsonTxtFileWithPath:(NSString*)path;

+(NSString *)readJsonTxtContentWithArray:(NSMutableArray<WHWproxyKitSuccessModel*>*)successModels;

@end





NS_ASSUME_NONNULL_END
